home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
VCIRCLE.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
1KB
|
43 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*------------------------------------------------------------------------
;* Circle.
;*------------------------------------------------------------------------
globl _v_circle
_v_circle:
; .cargs #8,handle.w,x.w,y.w,radius.w
handle = 8
x = 10
y = 12
radius = 14
link a6,#0
clr.w -(sp) ;* There are some holes in the
move.w radius(a6),-(sp) ;* pstin definitions for circle,
clr.l -(sp) ;* so build a temporary ptsin on
move.l x(a6),-(sp) ;* the stack.
move.l sp,a0 ;* Save a pointer to ptsin.
; VContrl #11,#4,#3
move.w handle(a6),-(sp) ; contrl[6]
move.w #4,-(sp) ; contrl[5]
subq.l #2,sp ; contrl[4]
clr.l -(sp) ; contrl[3,2]
move.w #3,-(sp) ; contrl[1]
move.w #11,-(sp) ; contrl[0]
subq.l #8,sp ;* -> ptsout, intout
move.l a0,-(sp) ;* -> ptsin
subq.l #4,sp ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end